import Vue from 'vue'
import App from './App'
import router from './router'

import setShareMeta from './share.js'

import './scss/reset.scss'
import './scss/global.scss'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})

document.addEventListener('DOMContentLoaded', () => {
  // debugger
  setShareMeta({
    title: '华尔街见闻2017金融领军者评选正式启动',
    desc: '华尔街见闻年度金融领军者评选9月正式开启，立即报名参评！',
    link: 'https://activity.wallstreetcn.com/FinancialChampions2017/',
    imgUrl: 'https://wpimg.wallstcn.com/a05c7f02-83ed-49c9-9a08-b97bb1a72433.png'
  })
})